package Structural.Composite.demo1;

public class LeafNode extends Node {

	String content;

	public LeafNode(String content) {
		this.content = content;
	}

	@Override
	public void printName() {
		System.out.println(this.content);
	}
}
